<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-US">
<head>
<!-- GenHTML revision 25226-->
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title> - The Java EE 6 Tutorial</title>
<meta name="robots" content="index,follow">
<meta name="robots" content="index,follow">
<meta name="date" content="2011-03-01">
<link rel="stylesheet" type="text/css" href="css/default.css">
<link rel="stylesheet" type="text/css" href="css/ipg.css">
<link rel="stylesheet" type="text/css" href="css/javaeetutorial.css">
</head>

<body>

<table border="0" cellpadding="5" cellspacing="0" width="100%">
<tbody>
   <tr valign="top">
      <td width="400px"><p class="toc level1"><a href="docinfo.html">Document Information</a></p>
<p class="toc level1 tocsp"><a href="gexaf.html">Preface</a></p>
<p class="toc level1 tocsp"><a href="gfirp.html">Part&nbsp;I&nbsp;Introduction</a></p>
<p class="toc level2"><a href="bnaaw.html">1.&nbsp;&nbsp;Overview</a></p>
<p class="toc level2"><a href="gfiud.html">2.&nbsp;&nbsp;Using the Tutorial Examples</a></p>
<p class="toc level1 tocsp"><a href="bnadp.html">Part&nbsp;II&nbsp;The Web Tier</a></p>
<p class="toc level2"><a href="bnadr.html">3.&nbsp;&nbsp;Getting Started with Web Applications</a></p>
<p class="toc level2"><a href="bnaph.html">4.&nbsp;&nbsp;JavaServer Faces Technology</a></p>
<p class="toc level2"><a href="giepx.html">5.&nbsp;&nbsp;Introduction to Facelets</a></p>
<p class="toc level2"><a href="gjddd.html">6.&nbsp;&nbsp;Expression Language</a></p>
<p class="toc level2"><a href="bnaqz.html">7.&nbsp;&nbsp;Using JavaServer Faces Technology in Web Pages</a></p>
<p class="toc level2"><a href="gjcut.html">8.&nbsp;&nbsp;Using Converters, Listeners, and Validators</a></p>
<p class="toc level2"><a href="bnatx.html">9.&nbsp;&nbsp;Developing with JavaServer Faces Technology</a></p>
<p class="toc level2"><a href="gkmaa.html">10.&nbsp;&nbsp;JavaServer Faces Technology Advanced Concepts</a></p>
<p class="toc level2"><a href="bnawo.html">11.&nbsp;&nbsp;Configuring JavaServer Faces Applications</a></p>
<p class="toc level2"><a href="gkiow.html">12.&nbsp;&nbsp;Using Ajax with JavaServer Faces Technology</a></p>
<p class="toc level2"><a href="gkhxa.html">13.&nbsp;&nbsp;Advanced Composite Components</a></p>
<p class="toc level2"><a href="bnavg.html">14.&nbsp;&nbsp;Creating Custom UI Components</a></p>
<p class="toc level2"><a href="bnafd.html">15.&nbsp;&nbsp;Java Servlet Technology</a></p>
<p class="toc level2"><a href="bnaxu.html">16.&nbsp;&nbsp;Internationalizing and Localizing Web Applications</a></p>
<p class="toc level1 tocsp"><a href="bnayk.html">Part&nbsp;III&nbsp;Web Services</a></p>
<p class="toc level2"><a href="gijti.html">17.&nbsp;&nbsp;Introduction to Web Services</a></p>
<p class="toc level2"><a href="bnayl.html">18.&nbsp;&nbsp;Building Web Services with JAX-WS</a></p>
<p class="toc level2"><a href="giepu.html">19.&nbsp;&nbsp;Building RESTful Web Services with JAX-RS</a></p>
<p class="toc level2"><a href="gjjxe.html">20.&nbsp;&nbsp;Advanced JAX-RS Features</a></p>
<p class="toc level2"><a href="gkojl.html">21.&nbsp;&nbsp;Running the Advanced JAX-RS Example Application</a></p>
<p class="toc level1 tocsp"><a href="bnblr.html">Part&nbsp;IV&nbsp;Enterprise Beans</a></p>
<p class="toc level2"><a href="gijsz.html">22.&nbsp;&nbsp;Enterprise Beans</a></p>
<p class="toc level2"><a href="gijre.html">23.&nbsp;&nbsp;Getting Started with Enterprise Beans</a></p>
<p class="toc level2"><a href="gijrb.html">24.&nbsp;&nbsp;Running the Enterprise Bean Examples</a></p>
<p class="toc level2"><a href="bnbpk.html">25.&nbsp;&nbsp;A Message-Driven Bean Example</a></p>
<p class="toc level2"><a href="gkcqz.html">26.&nbsp;&nbsp;Using the Embedded Enterprise Bean Container</a></p>
<p class="toc level2"><a href="gkidz.html">27.&nbsp;&nbsp;Using Asynchronous Method Invocation in Session Beans</a></p>
<p class="toc level1 tocsp"><a href="gjbnr.html">Part&nbsp;V&nbsp;Contexts and Dependency Injection for the Java EE Platform</a></p>
<p class="toc level2"><a href="giwhb.html">28.&nbsp;&nbsp;Introduction to Contexts and Dependency Injection for the Java EE Platform</a></p>
<p class="toc level2"><a href="gjbls.html">29.&nbsp;&nbsp;Running the Basic Contexts and Dependency Injection Examples</a></p>
<p class="toc level2"><a href="gjehi.html">30.&nbsp;&nbsp;Contexts and Dependency Injection for the Java EE Platform: Advanced Topics</a></p>
<p class="toc level2"><a href="gkhre.html">31.&nbsp;&nbsp;Running the Advanced Contexts and Dependency Injection Examples</a></p>
<p class="toc level1 tocsp"><a href="bnbpy.html">Part&nbsp;VI&nbsp;Persistence</a></p>
<p class="toc level2"><a href="bnbpz.html">32.&nbsp;&nbsp;Introduction to the Java Persistence API</a></p>
<p class="toc level2"><a href="gijst.html">33.&nbsp;&nbsp;Running the Persistence Examples</a></p>
<p class="toc level2"><a href="bnbtg.html">34.&nbsp;&nbsp;The Java Persistence Query Language</a></p>
<p class="toc level2"><a href="gjitv.html">35.&nbsp;&nbsp;Using the Criteria API to Create Queries</a></p>
<p class="toc level2"><a href="gkjiq.html">36.&nbsp;&nbsp;Creating and Using String-Based Criteria Queries</a></p>
<p class="toc level2"><a href="gkjjf.html">37.&nbsp;&nbsp;Controlling Concurrent Access to Entity Data with Locking</a></p>
<p class="toc level2"><a href="gkjia.html">38.&nbsp;&nbsp;Improving the Performance of Java Persistence API Applications By Setting a Second-Level Cache</a></p>
<p class="toc level1 tocsp"><a href="gijrp.html">Part&nbsp;VII&nbsp;Security</a></p>
<p class="toc level2"><a href="bnbwj.html">39.&nbsp;&nbsp;Introduction to Security in the Java EE Platform</a></p>
<p class="toc level2"><a href="bncas.html">40.&nbsp;&nbsp;Getting Started Securing Web Applications</a></p>
<p class="toc level2"><a href="bnbyk.html">41.&nbsp;&nbsp;Getting Started Securing Enterprise Applications</a></p>
<p class="toc level1 tocsp"><a href="gijue.html">Part&nbsp;VIII&nbsp;Java EE Supporting Technologies</a></p>
<p class="toc level2"><a href="gijto.html">42.&nbsp;&nbsp;Introduction to Java EE Supporting Technologies</a></p>
<p class="toc level2"><a href="bncih.html">43.&nbsp;&nbsp;Transactions</a></p>
<p class="toc level2"><a href="bncjh.html">44.&nbsp;&nbsp;Resource Connections</a></p>
<p class="toc level2"><a href="bncdq.html">45.&nbsp;&nbsp;Java Message Service Concepts</a></p>
<p class="toc level2"><a href="bncgv.html">46.&nbsp;&nbsp;Java Message Service Examples</a></p>
<p class="toc level2"><a href="gkahp.html">47.&nbsp;&nbsp;Advanced Bean Validation Concepts and Examples</a></p>
<p class="toc level2"><a href="gkeed.html">48.&nbsp;&nbsp;Using Java EE Interceptors</a></p>
<p class="toc level1 tocsp"><a href="gkgjw.html">Part&nbsp;IX&nbsp;Case Studies</a></p>
<p class="toc level2"><a href="gkaee.html">49.&nbsp;&nbsp;Duke's Tutoring Case Study Example</a></p>
<p class="toc level1 tocsp"><a href="idx-1.html">Index</a></p>
</td>
      <td width="10px">&nbsp;</td>
      <td>
         <div class="header">
             <div class="banner">
                <table width="100%" border="0" cellpadding="5" cellspacing="0">
                   <tbody>
                      <tr>
                         <td valign="bottom"><p class="Banner">The Java EE 6 Tutorial
</p></td>
                         <td align="right"  valign="bottom"><img src="graphics/javalogo.png" alt="Java Coffee Cup logo"></td>
                      </tr>
                   </tbody>
                </table>
             </div>

             <div class="header-links">
	         <a href="./index.html">Home</a> | 
<a href="../information/download.html">Download</a> | 
<a href="./javaeetutorial6.pdf">PDF</a> | 
<a href="../information/faq.html">FAQ</a> | 
<a href="http://download.oracle.com/javaee/feedback.htm">Feedback</a>

             </div>
             <div class="navigation">
                 <a href="idx-8.html"><img src="graphics/leftButton.gif" border="0" alt="Previous" title="Previous"></a>
                 <a href="p1.html"><img src="graphics/upButton.gif" border="0" alt="Contents" title="Contents"></a>
                 <a href="idx-10.html"><img src="graphics/rightButton.gif" border="0" alt="Next" title="Next"></a>
             </div>
         </div>

	 <div class="maincontent">      	 
             <h2>R</h2>
<div class="indexdiv">
<dl>
<dd>realms<dl>
<dd><a href="bnbxj.html#indexterm-1965">What Are Realms, Users, Groups, and Roles?</a></dd>
<dd><a href="bnbxj.html#indexterm-1966">What Is a Realm?</a></dd>
</dl>
<dl>
<dd><tt>admin-realm</tt>, <a href="bnbxj.html#indexterm-1970">What Is a Realm?</a></dd>
<dd><tt>certificate</tt><dl>
<dd><a href="bnbxj.html#indexterm-1969">What Is a Realm?</a></dd>
<dd><a href="bnbxj.html#indexterm-1985">Adding Users to the Certificate Realm</a></dd>
</dl>
</dd>
<dd>configuring, <a href="bnbxi.html#indexterm-1958">Securing the GlassFish Server</a></dd>
<dd><tt>file</tt>, <a href="bnbxj.html#indexterm-1968">What Is a Realm?</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd><tt>recover</tt> method, <a href="bncfu.html#indexterm-2403">Controlling Message Acknowledgment</a></dd>
</dl>
<dl>
<dd>redelivery of messages<dl>
<dd><a href="bncfu.html#indexterm-2397">Controlling Message Acknowledgment</a></dd>
<dd><a href="bncfu.html#indexterm-2402">Controlling Message Acknowledgment</a></dd>
</dl>
<dl>
<dd><tt>JMSRedelivered</tt> message header field, <a href="bnceh.html#indexterm-2377">Message Headers</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>referencing managed bean methods, <a href="bnatn.html#indexterm-503">Referencing a Managed Bean Method</a><dl>
<dd>for handling action events<dl>
<dd><a href="bnatn.html#indexterm-521">Referencing a Method That Handles an Action Event</a></dd>
<dd><a href="bnavb.html#indexterm-596">Writing a Method to Handle an Action Event</a></dd>
</dl>
</dd>
<dd>for handling value-change events, <a href="bnatn.html#indexterm-530">Referencing a Method That Handles a Value-Change Event</a></dd>
<dd>for performing navigation<dl>
<dd><a href="bnatn.html#indexterm-517">Referencing a Method That Performs Navigation</a></dd>
<dd><a href="bnavb.html#indexterm-591">Writing a Method to Handle Navigation</a></dd>
</dl>
</dd>
<dd>for performing validation<dl>
<dd><a href="bnatn.html#indexterm-526">Referencing a Method That Performs Validation</a></dd>
<dd><a href="bnavb.html#indexterm-606">Writing a Method to Perform Validation</a></dd>
</dl>
</dd>
</dl>
</dd>
</dl>
<dl>
<dd>registering custom UI components, <a href="bnavt.html#indexterm-883">Steps for Creating a Custom Component</a></dd>
</dl>
<dl>
<dd>registering messages, <a href="bnaxb.html#indexterm-791">Registering Custom Error Messages</a><dl>
<dd><tt>resource-bundle</tt> element, <a href="bnaxb.html#indexterm-794">Registering Custom Error Messages</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>relationship fields, query language, <a href="bnbth.html#indexterm-1719">Query Language Terminology</a></dd>
</dl>
<dl>
<dd>relationships<dl>
<dd>direction, <a href="bnbqa.html#indexterm-1628">Direction in Entity Relationships</a></dd>
<dd>unidirectional, <a href="giqst.html#indexterm-1677">Unidirectional Relationships</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>reliability, JMS<dl>
<dd>advanced mechanisms, <a href="bncfu.html#indexterm-2424">Using Advanced Reliability Mechanisms</a></dd>
<dd>basic mechanisms, <a href="bncfu.html#indexterm-2394">Using Basic Reliability Mechanisms</a></dd>
<dd>durable subscriptions, <a href="bncfu.html#indexterm-2425">Creating Durable Subscriptions</a></dd>
<dd>local transactions, <a href="bncfu.html#indexterm-2431">Using JMS API Local Transactions</a></dd>
<dd>message acknowledgment, <a href="bncfu.html#indexterm-2395">Controlling Message Acknowledgment</a></dd>
<dd>message expiration, <a href="bncfu.html#indexterm-2415">Allowing Messages to Expire</a></dd>
<dd>message persistence, <a href="bncfu.html#indexterm-2404">Specifying Message Persistence</a></dd>
<dd>message priority levels, <a href="bncfu.html#indexterm-2412">Setting Message Priority Levels</a></dd>
<dd>temporary destinations, <a href="bncfu.html#indexterm-2418">Creating Temporary Destinations</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>remote interfaces, defined, <a href="gipjf.html#indexterm-1365">Remote Clients</a></dd>
</dl>
<dl>
<dd>Remote Method Invocation (RMI), and messaging, <a href="bncdr.html#indexterm-2302">What Is Messaging?</a></dd>
</dl>
<dl>
<dd>request headers, JAX-RS, <a href="gkkrb.html#indexterm-1275">Annotations for Field and Bean Properties of Resource Classes</a></dd>
</dl>
<dl>
<dd>request method designators<dl>
<dd>JAX-RS<dl>
<dd><a href="gilik.html#indexterm-1215">Creating a RESTful Root Resource Class</a></dd>
<dd><a href="gilik.html#indexterm-1238">The Request Method Designator Annotations</a></dd>
</dl>
</dd>
</dl>
</dd>
</dl>
<dl>
<dd><tt>Request</tt> objects, JAX-RS, <a href="gkqbq.html#indexterm-1314">Runtime Content Negotiation</a></dd>
</dl>
<dl>
<dd>request parameters, extracting, <a href="gilik.html#indexterm-1254">Extracting Request Parameters</a></dd>
</dl>
<dl>
<dd>request/reply mechanism<dl>
<dd><tt>JMSCorrelationID</tt> message header field, <a href="bnceh.html#indexterm-2372">Message Headers</a></dd>
<dd><tt>JMSReplyTo</tt> message header field, <a href="bnceh.html#indexterm-2374">Message Headers</a></dd>
<dd>temporary destinations and, <a href="bncfu.html#indexterm-2423">Creating Temporary Destinations</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd><tt>RequestDispatcher</tt> interface, <a href="bnagi.html#indexterm-1136">Invoking Other Web Resources</a></dd>
</dl>
<dl>
<dd>requests, <a href="bnafv.html#indexterm-1091">Getting Information from Requests</a><dl>
<dd><i>See also </i>HTTP requests<dd>customizing, <a href="bnagb.html#indexterm-1124">Programming Customized Requests and Responses</a></dd>
<dd>getting information from, <a href="bnafv.html#indexterm-1094">Getting Information from Requests</a></dd>
<dd>retrieving a locale, <a href="bnaxw.html#indexterm-1166">Establishing the Locale</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd><tt>Required</tt> transaction attribute, <a href="bncgl.html#indexterm-2452">Managing Distributed Transactions</a></dd>
</dl>
<dl>
<dd>resource adapters<dl>
<dd><a href="bnacj.html#indexterm-92">Java EE Connector Architecture</a></dd>
<dd><a href="giqjk.html#indexterm-2192">The Java EE Connector Architecture and Resource Adapters</a></dd>
<dd><a href="gipgl.html#indexterm-2288">Resource Adapters and Contracts</a></dd>
</dl>
<dl>
<dd>metadata annotations, <a href="girdd.html#indexterm-2289">Metadata Annotations</a></dd>
<dd>security, <a href="bncal.html#indexterm-2188">Configuring Resource Adapter Security</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>resource bundles, <a href="bnaxv.html#indexterm-1164">Java Platform Localization Classes</a><dl>
<dd>Bean Validation, <a href="gkahi.html#indexterm-2527">The ValidationMessages Resource Bundle</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>resource classes, JAX-RS, <a href="gilik.html#indexterm-1211">Creating a RESTful Root Resource Class</a></dd>
</dl>
<dl>
<dd>resource injection, <a href="bncjk.html#indexterm-2287">Resource Injection</a></dd>
</dl>
<dl>
<dd>resource methods, JAX-RS, <a href="gilik.html#indexterm-1212">Creating a RESTful Root Resource Class</a></dd>
</dl>
<dl>
<dd>resources<dl>
<dd><a href="giqjk.html#indexterm-2191">Resources</a></dd>
<dd><a href="bncjh.html#indexterm-2278">Resource Connections</a></dd>
</dl>
<dl>
<dd><i>See also </i>data sources<dd>JMS, <a href="bncgl.html#indexterm-2437">Resource Management</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd><tt>ResponseBuilder</tt> class, <a href="gilik.html#indexterm-1249">Using Entity Providers to Map HTTP Response and Request Entity Bodies</a></dd>
</dl>
<dl>
<dd>responses, <a href="bnafv.html#indexterm-1105">Constructing Responses</a><dl>
<dd><i>See also </i>HTTP responses<dd>buffering output, <a href="bnafv.html#indexterm-1112">Constructing Responses</a></dd>
<dd>customizing, <a href="bnagb.html#indexterm-1125">Programming Customized Requests and Responses</a></dd>
<dd>setting headers, <a href="bnafv.html#indexterm-1090">Writing Service Methods</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>RESTful web services<dl>
<dd><a href="bnacj.html#indexterm-84">Java API for RESTful Web Services</a></dd>
<dd><a href="giepu.html#indexterm-1205">Building RESTful Web Services with JAX-RS</a></dd>
</dl>
<dl>
<dd>defined, <a href="gijqy.html#indexterm-1209">What Are RESTful Web Services?</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>roles, <a href="bnbxj.html#indexterm-1975">What Is a Role?</a><dl>
<dd>application, <a href="bnbxj.html#indexterm-1992">Mapping Roles to Users and Groups</a></dd>
<dd>declaring, <a href="gkbaa.html#indexterm-2082">Declaring Security Roles</a></dd>
<dd>mapping to groups, <a href="bnbxj.html#indexterm-1990">Mapping Roles to Users and Groups</a></dd>
<dd>mapping to users, <a href="bnbxj.html#indexterm-1991">Mapping Roles to Users and Groups</a></dd>
<dd>referencing, <a href="bnbyl.html#indexterm-2128">Specifying Authorized Users by Declaring Security Roles</a></dd>
<dd>security<dl>
<dd><a href="bnbxj.html#indexterm-1987">Setting Up Security Roles</a></dd>
<dd><a href="gkbaa.html#indexterm-2080">Declaring Security Roles</a></dd>
<dd><a href="bnbyl.html#indexterm-2121">Securing an Enterprise Bean Using Declarative Security</a></dd>
<dd><a href="bnbyl.html#indexterm-2126">Specifying Authorized Users by Declaring Security Roles</a></dd>
</dl>
</dd>
</dl>
</dd>
</dl>
<dl>
<dd><tt>rollback</tt> method<dl>
<dd><a href="bncij.html#indexterm-2240">Methods Not Allowed in Container-Managed Transactions</a></dd>
<dd><a href="bnciy.html#indexterm-2257">JTA Transactions</a></dd>
<dd><a href="bnciy.html#indexterm-2266">Methods Not Allowed in Bean-Managed Transactions</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd><tt>rollback</tt> method (JMS), <a href="bncfu.html#indexterm-2435">Using JMS API Local Transactions</a></dd>
</dl>
<dl>
<dd>rollbacks, <i>See </i>transactions, rollbacks</dd>
</dl>
<dl>
<dd>root resource classes, <a href="gilik.html#indexterm-1218">Creating a RESTful Root Resource Class</a></dd>
</dl>
<dl>
<dd>run-as identity, <a href="bnbyl.html#indexterm-2146">Propagating a Security Identity (Run-As)</a></dd>
</dl>
</div><h2>S</h2>
<div class="indexdiv">
<dl>
<dd>SAAJ, <a href="girdr.html#indexterm-123">SOAP with Attachments API for Java</a></dd>
</dl>
<dl>
<dd>SASL, <a href="bnbwy.html#indexterm-1922">Java SE Security Mechanisms</a></dd>
</dl>
<dl>
<dd>schema, deployment descriptors, <a href="bnbxe.html#indexterm-1948">Using Deployment Descriptors for Declarative Security</a></dd>
</dl>
<dl>
<dd><tt>schemagen</tt> tool, <a href="bnadf.html#indexterm-139">GlassFish Server Tools</a></dd>
</dl>
<dl>
<dd>scopes<dl>
<dd>using in CDI, <a href="gjbbk.html#indexterm-1541">Using Scopes</a></dd>
<dd>using in JavaServer Faces technology, <a href="girch.html#indexterm-760">Using Managed Bean Scopes</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>secure connections, <a href="bnbxw.html#indexterm-1999">Establishing a Secure Connection Using SSL</a></dd>
</dl>
<dl>
<dd>Secure Socket Layer (SSL), <a href="bnbxw.html#indexterm-1995">Establishing a Secure Connection Using SSL</a></dd>
</dl>
<dl>
<dd>security<dl>
<dd>annotations<dl>
<dd><a href="bnbxe.html#indexterm-1945">Using Annotations to Specify Security Information</a></dd>
<dd><a href="bncbx.html#indexterm-2097">Specifying Security for Basic Authentication Using Annotations</a></dd>
<dd><a href="bnbyl.html#indexterm-2111">Securing Enterprise Beans</a></dd>
</dl>
</dd>
<dd>application<dl>
<dd><a href="bnbwk.html#indexterm-1900">Characteristics of Application Security</a></dd>
<dd><a href="bnbwy.html#indexterm-1929">Application-Layer Security</a></dd>
</dl>
</dd>
<dd>application clients, <a href="bncah.html#indexterm-2165">Securing Application Clients</a></dd>
<dd>callback handlers<dl>
<dd><a href="bncah.html#indexterm-2167">Securing Application Clients</a></dd>
<dd><a href="bncah.html#indexterm-2171">Using Login Modules</a></dd>
</dl>
</dd>
<dd>component-managed sign-on, <a href="bncal.html#indexterm-2185">Component-Managed Sign-On</a></dd>
<dd>constraints, <a href="gkbaa.html#indexterm-2037">Specifying Security Constraints</a></dd>
<dd>container-managed sign-on, <a href="bncal.html#indexterm-2182">Container-Managed Sign-On</a></dd>
<dd>container trust, <a href="bnbyl.html#indexterm-2151">Trust between Containers</a></dd>
<dd>containers<dl>
<dd><a href="bnbwk.html#indexterm-1890">Overview of Java EE Security</a></dd>
<dd><a href="bnbxe.html#indexterm-1942">Securing Containers</a></dd>
</dl>
</dd>
<dd>context for enterprise beans, <a href="bnbyl.html#indexterm-2139">Accessing an Enterprise Bean Caller&rsquo;s Security Context</a></dd>
<dd>declarative<dl>
<dd><a href="bnbwk.html#indexterm-1893">Overview of Java EE Security</a></dd>
<dd><a href="bnbxe.html#indexterm-1946">Using Deployment Descriptors for Declarative Security</a></dd>
<dd><a href="bncat.html#indexterm-2031">Overview of Web Application Security</a></dd>
<dd><a href="bnbyl.html#indexterm-2113">Securing Enterprise Beans</a></dd>
</dl>
</dd>
<dd>deploying enterprise beans, <a href="bnbyl.html#indexterm-2152">Deploying Secure Enterprise Beans</a></dd>
<dd>EIS applications, <a href="bncal.html#indexterm-2176">Securing Enterprise Information Systems Applications</a></dd>
<dd>end-to-end, <a href="bnbwy.html#indexterm-1940">Message-Layer Security</a></dd>
<dd>enterprise applications, <a href="bnbyk.html#indexterm-2106">Getting Started Securing Enterprise Applications</a></dd>
<dd>enterprise beans, <a href="bnbyl.html#indexterm-2108">Securing Enterprise Beans</a></dd>
<dd>examples<dl>
<dd><a href="bncbx.html#indexterm-2103">Example: Form-Based Authentication with a JavaServer Faces Application</a></dd>
<dd><a href="gkbsz.html#indexterm-2154">Example: Securing an Enterprise Bean with Declarative Security</a></dd>
<dd><a href="gkbsz.html#indexterm-2159">Example: Securing an Enterprise Bean with Programmatic Security</a></dd>
</dl>
</dd>
<dd>groups, <a href="bnbxj.html#indexterm-1974">What Is a Group?</a></dd>
<dd>introduction, <a href="bnbwj.html#indexterm-1889">Introduction to Security in the Java EE Platform</a></dd>
<dd>JAAS login modules, <a href="bncah.html#indexterm-2174">Using Login Modules</a></dd>
<dd>Java SE, <a href="bnbwy.html#indexterm-1911">Java SE Security Mechanisms</a></dd>
<dd>login forms, <a href="bncah.html#indexterm-2168">Securing Application Clients</a></dd>
<dd>login modules, <a href="bncah.html#indexterm-2170">Using Login Modules</a></dd>
<dd>mechanism features, <a href="bnbwk.html#indexterm-1899">Features of a Security Mechanism</a></dd>
<dd>mechanisms<dl>
<dd><a href="bnbwy.html#indexterm-1910">Security Mechanisms</a></dd>
<dd><a href="bnbwy.html#indexterm-1928">Java EE Security Mechanisms</a></dd>
</dl>
</dd>
<dd>message, <a href="bncat.html#indexterm-2035">Overview of Web Application Security</a></dd>
<dd>message-layer, <a href="bnbwy.html#indexterm-1936">Message-Layer Security</a></dd>
<dd>method permissions<dl>
<dd><a href="bnbyl.html#indexterm-2124">Securing an Enterprise Bean Using Declarative Security</a></dd>
<dd><a href="bnbyl.html#indexterm-2130">Specifying Authorized Users by Declaring Security Roles</a></dd>
</dl>
</dd>
<dd>overview, <a href="bnbwk.html#indexterm-1892">Overview of Java EE Security</a></dd>
<dd>policy domain, <a href="bnbxj.html#indexterm-1978">Some Other Terminology</a></dd>
<dd>programmatic<dl>
<dd><a href="bnbwk.html#indexterm-1896">Overview of Java EE Security</a></dd>
<dd><a href="bnbxe.html#indexterm-1953">Using Programmatic Security</a></dd>
<dd><a href="bncat.html#indexterm-2033">Overview of Web Application Security</a></dd>
<dd><a href="gjiie.html#indexterm-2084">Using Programmatic Security with Web Applications</a></dd>
<dd><a href="bnbyl.html#indexterm-2116">Securing Enterprise Beans</a></dd>
</dl>
</dd>
<dd>programmatic login, <a href="bncah.html#indexterm-2175">Using Programmatic Login</a></dd>
<dd>propagating identity, <a href="bnbyl.html#indexterm-2145">Propagating a Security Identity (Run-As)</a></dd>
<dd>realms, <a href="bnbxj.html#indexterm-1967">What Is a Realm?</a></dd>
<dd>resource adapters, <a href="bncal.html#indexterm-2189">Configuring Resource Adapter Security</a></dd>
<dd>role names<dl>
<dd><a href="gkbaa.html#indexterm-2083">Declaring Security Roles</a></dd>
<dd><a href="bnbyl.html#indexterm-2125">Specifying Authorized Users by Declaring Security Roles</a></dd>
</dl>
</dd>
<dd>roles<dl>
<dd><a href="bnbxj.html#indexterm-1976">What Is a Role?</a></dd>
<dd><a href="bnbxj.html#indexterm-1988">Setting Up Security Roles</a></dd>
<dd><a href="gkbaa.html#indexterm-2081">Declaring Security Roles</a></dd>
<dd><a href="bnbyl.html#indexterm-2122">Securing an Enterprise Bean Using Declarative Security</a></dd>
</dl>
</dd>
<dd>run-as identity, <a href="bnbyl.html#indexterm-2147">Propagating a Security Identity (Run-As)</a></dd>
<dd>simple walkthrough, <a href="bnbwk.html#indexterm-1898">A Simple Application Security Walkthrough</a></dd>
<dd>transport-layer<dl>
<dd><a href="bnbwy.html#indexterm-1931">Transport-Layer Security</a></dd>
<dd><a href="bnbxw.html#indexterm-1998">Establishing a Secure Connection Using SSL</a></dd>
</dl>
</dd>
<dd>users, <a href="bnbxj.html#indexterm-1972">What Is a User?</a></dd>
<dd>web applications, <a href="bncas.html#indexterm-2028">Getting Started Securing Web Applications</a></dd>
<dd>web components, <a href="bncas.html#indexterm-2029">Getting Started Securing Web Applications</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>security constraints, <a href="gkbaa.html#indexterm-2036">Specifying Security Constraints</a><dl>
<dd>multiple, <a href="gkbaa.html#indexterm-2055">Specifying Separate Security Constraints for Various Resources</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>security domain, <a href="bnbxj.html#indexterm-1979">Some Other Terminology</a></dd>
</dl>
<dl>
<dd>security identity<dl>
<dd>propagating, <a href="bnbyl.html#indexterm-2144">Propagating a Security Identity (Run-As)</a></dd>
<dd>specific identity, <a href="bnbyl.html#indexterm-2149">Propagating a Security Identity (Run-As)</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd><tt>security-role-mapping</tt> element, <a href="bnbxj.html#indexterm-1993">Mapping Roles to Users and Groups</a></dd>
</dl>
<dl>
<dd><tt>security-role-ref</tt> element, <a href="gjiie.html#indexterm-2092">Declaring and Linking Role References</a></dd>
</dl>
<dl>
<dd>security role references, <a href="gjiie.html#indexterm-2094">Declaring and Linking Role References</a></dd>
</dl>
<dl>
<dd>security roles<dl>
<dd><a href="bnbxj.html#indexterm-1989">Setting Up Security Roles</a></dd>
<dd><a href="bnbyl.html#indexterm-2120">Securing an Enterprise Bean Using Declarative Security</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd><tt>send</tt> method, <a href="bnceh.html#indexterm-2349">JMS Message Producers</a></dd>
</dl>
<dl>
<dd>server, authentication, <a href="gkbaa.html#indexterm-2071">Client Authentication</a></dd>
</dl>
<dl>
<dd>server log, <a href="bnadl.html#indexterm-161">Using the Server Log</a></dd>
</dl>
<dl>
<dd>servers, certificates, <a href="bnbxw.html#indexterm-2012">Working with Digital Certificates</a></dd>
</dl>
<dl>
<dd>servers, Java EE<dl>
<dd>deploying on more than one<dl>
<dd><a href="bnchp.html#indexterm-2510">An Application Example That Consumes Messages from a Remote Server</a></dd>
<dd><a href="bnchx.html#indexterm-2514">An Application Example That Deploys a Message-Driven Bean on Two Servers</a></dd>
</dl>
</dd>
<dd>running JMS clients on more than one, <a href="bncfa.html#indexterm-2484">Running JMS Clients on Multiple Systems</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>service methods, servlets, <a href="bnafv.html#indexterm-1089">Writing Service Methods</a></dd>
</dl>
<dl>
<dd><tt>Servlet</tt> interface, <a href="bnafe.html#indexterm-1065">What Is a Servlet?</a></dd>
</dl>
<dl>
<dd><tt>ServletContext</tt> interface, <a href="bnagl.html#indexterm-1143">Accessing the Web Context</a></dd>
</dl>
<dl>
<dd><tt>ServletInputStream</tt> class, <a href="bnafv.html#indexterm-1098">Getting Information from Requests</a></dd>
</dl>
<dl>
<dd><tt>ServletOutputStream</tt> class, <a href="bnafv.html#indexterm-1111">Constructing Responses</a></dd>
</dl>
<dl>
<dd><tt>ServletRequest</tt> interface, <a href="bnafv.html#indexterm-1093">Getting Information from Requests</a></dd>
</dl>
<dl>
<dd><tt>ServletResponse</tt> interface, <a href="bnafv.html#indexterm-1107">Constructing Responses</a></dd>
</dl>
<dl>
<dd>servlets<dl>
<dd><a href="bnaay.html#indexterm-19">Web Components</a></dd>
<dd><a href="bnafe.html#indexterm-1062">What Is a Servlet?</a></dd>
</dl>
<dl>
<dd>binary data<dl>
<dd><a href="bnafv.html#indexterm-1097">Getting Information from Requests</a></dd>
<dd><a href="bnafv.html#indexterm-1110">Constructing Responses</a></dd>
</dl>
</dd>
<dd>character data<dl>
<dd><a href="bnafv.html#indexterm-1095">Getting Information from Requests</a></dd>
<dd><a href="bnafv.html#indexterm-1108">Constructing Responses</a></dd>
</dl>
</dd>
<dd>compiling, <a href="gipss.html#indexterm-1398">Building, Packaging, Deploying, and Running the converter Example</a></dd>
<dd>creating, <a href="bnafu.html#indexterm-1079">Creating and Initializing a Servlet</a></dd>
<dd>examples<dl>
<dd><a href="bnaeo.html#indexterm-194">Configuring Web Applications: The hello2 Example</a></dd>
<dd><a href="gkcpg.html#indexterm-1160">The mood Example Application</a></dd>
<dd><a href="gipss.html#indexterm-1392">Creating the converter Web Client</a></dd>
</dl>
</dd>
<dd>finalizing, <a href="bnags.html#indexterm-1155">Finalizing a Servlet</a></dd>
<dd>initializing, <a href="bnafu.html#indexterm-1081">Creating and Initializing a Servlet</a></dd>
<dd>lifecycle, <a href="bnafi.html#indexterm-1068">Servlet Lifecycle</a></dd>
<dd>lifecycle events, <a href="bnafi.html#indexterm-1070">Handling Servlet Lifecycle Events</a></dd>
<dd>packaging, <a href="gipss.html#indexterm-1399">Building, Packaging, Deploying, and Running the converter Example</a></dd>
<dd>service methods<dl>
<dd><a href="bnafv.html#indexterm-1088">Writing Service Methods</a></dd>
<dd><a href="bnags.html#indexterm-1157">Notifying Methods to Shut Down</a></dd>
<dd><a href="bnags.html#indexterm-1158">Creating Polite Long-Running Methods</a></dd>
</dl>
</dd>
<dd>tracking service requests, <a href="bnags.html#indexterm-1156">Tracking Service Requests</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>session beans<dl>
<dd><a href="bnacj.html#indexterm-72">Enterprise JavaBeans Technology</a></dd>
<dd><a href="gipjg.html#indexterm-1329">What Is a Session Bean?</a></dd>
</dl>
<dl>
<dd><i>See also </i>asynchronous method invocation<dd>activation, <a href="giplj.html#indexterm-1384">The Lifecycle of a Stateful Session Bean</a></dd>
<dd>bean-managed concurrency<dl>
<dd><a href="gipvi.html#indexterm-1436">Managing Concurrent Access in a Singleton Session Bean</a></dd>
<dd><a href="gipvi.html#indexterm-1441">Managing Concurrent Access in a Singleton Session Bean</a></dd>
</dl>
</dd>
<dd>business interfaces, <a href="gipjf.html#indexterm-1351">Accessing Enterprise Beans</a></dd>
<dd>clients, <a href="gipjg.html#indexterm-1330">What Is a Session Bean?</a></dd>
<dd>concurrent access, <a href="gipvi.html#indexterm-1434">Managing Concurrent Access in a Singleton Session Bean</a></dd>
<dd>container-managed concurrency<dl>
<dd><a href="gipvi.html#indexterm-1435">Managing Concurrent Access in a Singleton Session Bean</a></dd>
<dd><a href="gipvi.html#indexterm-1438">Managing Concurrent Access in a Singleton Session Bean</a></dd>
</dl>
</dd>
<dd>databases, <a href="bncij.html#indexterm-2229">Synchronizing a Session Bean&rsquo;s Instance Variables</a></dd>
<dd>eager initialization, <a href="gipvi.html#indexterm-1431">Initializing Singleton Session Beans</a></dd>
<dd>examples<dl>
<dd><a href="gipss.html#indexterm-1388">Coding the Enterprise Bean Class</a></dd>
<dd><a href="bnbod.html#indexterm-1404">The cart Example</a></dd>
<dd><a href="gipvi.html#indexterm-1428">A Singleton Session Bean Example: counter</a></dd>
<dd><a href="bnbor.html#indexterm-1446">A Web Service Example: helloservice</a></dd>
<dd><a href="bncgw.html#indexterm-2493">An Application That Uses the JMS API with a Session Bean</a></dd>
</dl>
</dd>
<dd>handling errors, <a href="gipvi.html#indexterm-1442">Handling Errors in a Singleton Session Bean</a></dd>
<dd>no-interface views, <a href="gipjf.html#indexterm-1350">Accessing Enterprise Beans</a></dd>
<dd>passivation, <a href="giplj.html#indexterm-1385">The Lifecycle of a Stateful Session Bean</a></dd>
<dd>requirements, <a href="bnbod.html#indexterm-1408">Session Bean Class</a></dd>
<dd>singleton<dl>
<dd><a href="gipjg.html#indexterm-1335">Singleton Session Beans</a></dd>
<dd><a href="gipvi.html#indexterm-1427">A Singleton Session Bean Example: counter</a></dd>
</dl>
</dd>
<dd>stateful<dl>
<dd><a href="gipjg.html#indexterm-1332">Stateful Session Beans</a></dd>
<dd><a href="gipjg.html#indexterm-1336">When to Use Session Beans</a></dd>
</dl>
</dd>
<dd>stateless<dl>
<dd><a href="gipjg.html#indexterm-1334">Stateless Session Beans</a></dd>
<dd><a href="gipjg.html#indexterm-1338">When to Use Session Beans</a></dd>
</dl>
</dd>
<dd>transactions<dl>
<dd><a href="bncij.html#indexterm-2211">Container-Managed Transactions</a></dd>
<dd><a href="bncij.html#indexterm-2228">Synchronizing a Session Bean&rsquo;s Instance Variables</a></dd>
<dd><a href="bnciy.html#indexterm-2248">Bean-Managed Transactions</a></dd>
</dl>
</dd>
<dd>web services<dl>
<dd><a href="gipjf.html#indexterm-1368">Web Service Clients</a></dd>
<dd><a href="bnbor.html#indexterm-1448">Stateless Session Bean Implementation Class</a></dd>
</dl>
</dd>
</dl>
</dd>
</dl>
<dl>
<dd><tt>Session</tt> interface, <a href="bnceh.html#indexterm-2346">JMS Sessions</a></dd>
</dl>
<dl>
<dd>sessions, <a href="bnagm.html#indexterm-1145">Maintaining Client State</a><dl>
<dd>associating attributes, <a href="bnagm.html#indexterm-1149">Associating Objects with a Session</a></dd>
<dd>associating with user, <a href="bnagm.html#indexterm-1153">Session Tracking</a></dd>
<dd>invalidating, <a href="bnagm.html#indexterm-1152">Session Management</a></dd>
<dd>notifying objects associated with, <a href="bnagm.html#indexterm-1150">Associating Objects with a Session</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>sessions, JMS<dl>
<dd>introduction, <a href="bnceh.html#indexterm-2345">JMS Sessions</a></dd>
<dd>managing in enterprise bean applications, <a href="bncgl.html#indexterm-2439">Resource Management</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd><tt>SessionSynchronization</tt> interface, <a href="bncij.html#indexterm-2230">Synchronizing a Session Bean&rsquo;s Instance Variables</a></dd>
</dl>
<dl>
<dd><tt>setRollbackOnly</tt> method<dl>
<dd><a href="bncij.html#indexterm-2227">Rolling Back a Container-Managed Transaction</a></dd>
<dd><a href="bncij.html#indexterm-2235">Synchronizing a Session Bean&rsquo;s Instance Variables</a></dd>
<dd><a href="bnciy.html#indexterm-2264">Methods Not Allowed in Bean-Managed Transactions</a></dd>
<dd><a href="bncgl.html#indexterm-2450">Managing Distributed Transactions</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>sign-on<dl>
<dd>component-managed<dl>
<dd><a href="bncal.html#indexterm-2181">Securing Enterprise Information Systems Applications</a></dd>
<dd><a href="bncal.html#indexterm-2187">Component-Managed Sign-On</a></dd>
</dl>
</dd>
<dd>container-managed<dl>
<dd><a href="bncal.html#indexterm-2179">Securing Enterprise Information Systems Applications</a></dd>
<dd><a href="bncal.html#indexterm-2184">Container-Managed Sign-On</a></dd>
</dl>
</dd>
</dl>
</dd>
</dl>
<dl>
<dd>Simple Authentication and Security Layer, <a href="bnbwy.html#indexterm-1921">Java SE Security Mechanisms</a></dd>
</dl>
<dl>
<dd><tt>SingleThreadModel</tt> interface, <a href="bnafo.html#indexterm-1078">Controlling Concurrent Access to Shared Resources</a></dd>
</dl>
<dl>
<dd>SOAP<dl>
<dd><a href="giqsx.html#indexterm-1182">Types of Web Services</a></dd>
<dd><a href="bnayl.html#indexterm-1187">Building Web Services with JAX-WS</a></dd>
<dd><a href="bnayl.html#indexterm-1192">Building Web Services with JAX-WS</a></dd>
<dd><a href="bnaze.html#indexterm-1202">Further Information about JAX-WS</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>SOAP messages<dl>
<dd><a href="bnabs.html#indexterm-45">SOAP Transport Protocol</a></dd>
<dd><a href="girdr.html#indexterm-125">SOAP with Attachments API for Java</a></dd>
</dl>
<dl>
<dd>securing, <a href="bnbwy.html#indexterm-1938">Message-Layer Security</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>SOAP with Attachments API for Java, <i>See </i>SAAJ</dd>
</dl>
<dl>
<dd>specialization, CDI, <a href="gjsdf.html#indexterm-1564">Using Specialization</a></dd>
</dl>
<dl>
<dd>SQL<dl>
<dd><a href="girdr.html#indexterm-102">Java Database Connectivity API</a></dd>
<dd><a href="bnbtl.html#indexterm-1748">Queries That Navigate to Related Entities</a></dd>
<dd><a href="bnbuf.html#indexterm-1773">Identifiers</a></dd>
<dd><a href="bnbuf.html#indexterm-1794">Path Expressions</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>SQL92, <a href="bnbuf.html#indexterm-1842">NULL Values</a></dd>
</dl>
<dl>
<dd>SSL<dl>
<dd><a href="bnbwy.html#indexterm-1934">Transport-Layer Security</a></dd>
<dd><a href="bnbxw.html#indexterm-1996">Establishing a Secure Connection Using SSL</a></dd>
<dd><a href="gkbaa.html#indexterm-2053">Specifying a Secure Connection</a></dd>
<dd><a href="gkbaa.html#indexterm-2069">Client Authentication</a></dd>
</dl>
<dl>
<dd>connectors, GlassFish Server, <a href="bnbxw.html#indexterm-2006">Verifying and Configuring SSL Support</a></dd>
<dd>handshake, <a href="bnbxw.html#indexterm-2004">Establishing a Secure Connection Using SSL</a></dd>
<dd>verifying support, <a href="bnbxw.html#indexterm-2007">Verifying and Configuring SSL Support</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>standard converters, <a href="bnaqd.html#indexterm-716">Conversion Model</a><dl>
<dd>converter tags, <a href="bnast.html#indexterm-466">Converting a Component&rsquo;s Value</a></dd>
<dd><tt>NumberConverter</tt> class, <a href="bnast.html#indexterm-453">Using the Standard Converters</a></dd>
<dd>using, <a href="bnast.html#indexterm-436">Using the Standard Converters</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>standard validators<dl>
<dd><i>See also </i>validator implementation classes<dd>using, <a href="bnatc.html#indexterm-488">Using the Standard Validators</a></dd>
</dl>
</dd>
</dl>
<dl>
<dd>state fields, query language, <a href="bnbth.html#indexterm-1717">Query Language Terminology</a></dd>
</dl>
<dl>
<dd>stereotypes, CDI, <a href="gkhqc.html#indexterm-1582">Using Stereotypes</a></dd>
</dl>
<dl>
<dd><tt>StreamMessage</tt> interface, <a href="bnceh.html#indexterm-2385">Message Bodies</a></dd>
</dl>
<dl>
<dd>subresources, JAX-RS, <a href="gknav.html#indexterm-1294">Subresources and Runtime Resource Resolution</a></dd>
</dl>
<dl>
<dd>subscription names, for durable subscribers, <a href="bncfu.html#indexterm-2430">Creating Durable Subscriptions</a></dd>
</dl>
<dl>
<dd>substitution parameters, defining, <i>See </i>messages, <tt>param</tt> tag</dd>
</dl>
<dl>
<dd>synchronous message consumption, <a href="bncdx.html#indexterm-2319">Message Consumption</a><dl>
<dd>JMS client example, <a href="bncfa.html#indexterm-2459">A Simple Example of Synchronous Message Receives</a></dd>
</dl>
</dd>
</dl>
</div>
         </div>
         <div class="navigation">
             <a href="idx-8.html"><img src="graphics/leftButton.gif" border="0" alt="Previous" title="Previous"></a>
             <a href="p1.html"><img src="graphics/upButton.gif" border="0" alt="Contents" title="Contents"></a>
             <a href="idx-10.html"><img src="graphics/rightButton.gif" border="0" alt="Next" title="Next"></a>
         </div>

         <div class="copyright">
      	    <p>Copyright &copy; 2011, Oracle and/or its affiliates. All rights reserved. <a href="docinfo.html">Legal Notices</a></p>
      	 </div>

      </td>
   </tr>
</tbody>
</table>
</body>
</html>

